<template>
	<view>
		<custom-navigation-bar title="城市合伙人"></custom-navigation-bar>
		<view style="width: 100%;float: left;height: auto;margin-top: 160rpx;">
			<image  @click="previewImage" :src="imgUrl" style="width: 100%;" mode="widthFix"></image>
		</view>
	</view>
</template>

<script setup> 
	 
	import CustomNavigationBar from '@/components/CustomNavigationBar.vue';
		const imgUrl=ref('https://love.lovein37.com/upload/application/591322ea7a3a347014e2829e9d23406b.jpg');
		function previewImage(e) { 
			console.log("1111111")
			wx.previewImage({
			  current: imgUrl.value, // 当前显示的图片链接
			  urls: [
				imgUrl.value
			  ],
			  success: function(res) {
				// 预览成功的回调函数
			  },
			  fail: function(err) {
				// 预览失败的回调函数
			  }
			});
	}
</script>

<style>
</style>